<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .container{
            background: #ccc;
            max-height: 400px;

        }
    </style>
</head>
<body>
<div class="container">

    <span id="mmdd"></span>
    <span id="time"></span>
    <span id="week"></span>

</div>
<script src="https://cdn.bootcss.com/jquery/2.2.1/jquery.min.js"></script>
<script>
    function getWeatherAndDate() {
        var date = new Date();
        var month = date.getMonth() + 1;
        var day = date.getDate();
        var hour = date.getHours();
        var minutes = date.getMinutes();
        if (day >= 0 && day <= 9) {
            day = "0" + day;
        }
        if (minutes >= 0 && minutes <= 9) {
            minutes = "0" + minutes;
        }
        var curdate = month +"."+day;
        var curtime = hour +":"+minutes;

        var weekArr = new Array("日", "一", "二", "三", "四", "五", "六");
        var week = date.getDay();
        $("#mmdd").html(curdate);
        $("#time").html(curtime);
        $("#week").html("星期"+weekArr[week]);
    }

    $(function(){

        window.setInterval("getWeatherAndDate()", 60 );


        });

</script>
</body>
</html>